﻿<Window x:Class="InstallerBD.InstalationProces"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="InstalationProces" Height="300" Width="300" Loaded="Window_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <ProgressBar Maximum="{Binding ScriptCount}" Value="{Binding CurrentExecScriptNumber}" Grid.Row="0" Grid.Column="0" Height="20"/>
        
        <ListBox ItemsSource="{Binding Log}" Grid.Row="1"/>
        
        <StackPanel Grid.Row="2"  Orientation="Horizontal" HorizontalAlignment="Right" Height="25">
            <Button Content="OK" Width="50" Margin="0 0 5 0"/>
            <Button Content="Cancel" Width="50" Margin="0 0 10 0" IsCancel="True" />
        </StackPanel>
    </Grid>
</Window>
